﻿@model KCMS.BusinessLogic.Models.Contact
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <legend>Contact</legend>
    <div class="editor-label">
        @Html.LabelFor(model => model.Title)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Title)
        @Html.ValidationMessageFor(model => model.Title)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Name)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Name)
        @Html.ValidationMessageFor(model => model.Name)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Skype)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Skype)
        @Html.ValidationMessageFor(model => model.Skype)
    </div>


    <div class="editor-label">
        @Html.LabelFor(model => model.Code)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Code)
        @Html.ValidationMessageFor(model => model.Code)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Locality)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Locality)
        @Html.ValidationMessageFor(model => model.Locality)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Street)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Street)
        @Html.ValidationMessageFor(model => model.Street)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.PostalCode)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.PostalCode)
        @Html.ValidationMessageFor(model => model.PostalCode)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Phone)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Phone)
        @Html.ValidationMessageFor(model => model.Phone)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Email)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Email)
        @Html.ValidationMessageFor(model => model.Email)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.EmailFeedback)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.EmailFeedback)
        @Html.ValidationMessageFor(model => model.EmailFeedback)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Fax)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Fax)
        @Html.ValidationMessageFor(model => model.Fax)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.MobilePhone)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.MobilePhone)
        @Html.ValidationMessageFor(model => model.MobilePhone)
    </div>

       

    <div class="editor-label">
        @Html.LabelFor(model => model.YandexMap)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.YandexMap)
        @Html.ValidationMessageFor(model => model.YandexMap)
    </div>
}
